package com.ls.bpmn.service;

import com.ls.bpmn.entity.Category;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ls
 * @since 2025-04-21
 */
public interface ICategoryService extends IService<Category> {

    List<Category> getAllCategories();

    boolean saveCategory(Category category);

    boolean updateCategory(Category category);

    boolean deleteCategory(String id);

    List<Category> getCategoriesByParentId(String parentId);
}
